package com.woniu.humanresource.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author zyq
 * @since 2022-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AttendanceParameters对象", description="")
public class AttendanceParameters implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
//  不开启雪花主键策略  @TableId(value = "id",type = IdType.ID_WORKER) 数据库开启自增长

    private Long id;

    @ApiModelProperty(value = "参数id")
    private String parameterId;

    @ApiModelProperty(value = "参数名字")
    private String parameterName;

    @ApiModelProperty(value = "参数值")
    private String parameter;

    @ApiModelProperty(value = "创建人")
    private String founder;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新人")
    private String updater;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @ApiModelProperty(value = "逻辑删除字段")
    @TableLogic
    private Integer deleted;


}
